<script setup>
import { inject } from 'vue';
const a = inject('msg');
const sayHi = inject('sayHi');
console.log(a);
sayHi();
</script>

<template>
  hello world
  <!-- <my-component1></my-component1> -->
</template>